package work_0318;

public class Circles extends Shapes{
    double radius;
    public void calculate(double radius){
        this.radius=radius;
    }

    //计算圆面积
    public double calculateC(){
        return Math.PI*(radius*radius);
    }

    @Override
    void go(){
        super.go();
        System.out.println("正在绘图圆形");

    }


}
